<template>
	<!-- notify -->
	<tn-tips ref="tips" position="top" :top='vuex_custom_bar_height'></tn-tips>
</template>
    
<script>

	
	export default {
	  data(){
	    return {
			msgType:'success',
			messageText:'success',
	    }
	  },

	  
		methods: {
			open(info){
				this.$refs.tips.show({
					msg: info,
				  backgroundColor: '#82B2FF',
				  fontColor: '#FFFFFF',
				  duration: 1500
				}) 
			},
			successOpen(info){
				this.$refs.tips.show({
					msg: info,
					backgroundColor: '#28B93D',
					fontColor: '#FFFFFF',
					duration: 1500
				}) 		
			},
			errorOpen(info){
				this.$refs.tips.show({
					msg: info,
					backgroundColor: '#E83A30',
					fontColor: '#FFFFFF',
					duration: 2500
				}) 	
			}
		}
	  
	}
</script>


<style>
</style>